package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Cert;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CertService {
    public PageInfo<Cert> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);

    //根据id查询
    public List<Cert> getCertListByIdList(List<Integer> certIdList);
    //删除
    public void batchRemove(List<Integer> certIdList);
    //增加
    public void saveRole(String certName);
    //修改
    public void updateRole(Cert cert);
}
